<?php

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    //return view('admin.login');

    return redirect(url('admin'));
});


//Auth::routes();

Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');

Route::get('/test',function (){
   $service = new \App\Services\ItService();

   $res = $service->getXmlData('4a29d2c301c76042150a61c07afda309e653',[
       "architectrueReview","applyDept_show","currentNodeId"
   ],[
       "currentNodeId"=>'T10016',
   ]);

   dd($res);
});

Route::get('/demo',function (\Illuminate\Http\Request $request){
    $demo = $request->input('demo');

    dump($demo);

    dd(addslashes($demo));
});
